-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
4.7.1
-
Code
-
Classes
- CartTotals
Total Complexity |
73 |
Dependencies |
8 |
Dependents |
4 |
Total lines |
388 |
Lines of code |
255 |
Logical lines of code |
167 |
Comment lines |
54 |
Methods |
11 |
Properties |
2 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
calculateItemsSubtotalsWithoutImmutable() |
B |
37 |
23 |
70 |
calculateItemsSubtotals() |
B |
38 |
20 |
63 |
calculateTotalDiscounts() |
A |
41 |
8 |
55 |
sortCouponsCallback() |
S |
61 |
7 |
12 |
getCouponsFromCart() |
S |
54 |
5 |
22 |
getItemTaxRates() |
S |
63 |
3 |
11 |
roundLineTax() |
S |
69 |
3 |
6 |
__construct() |
S |
70 |
1 |
7 |
roundAtSubtotal() |
S |
79 |
1 |
3 |
getSubtotal() |
S |
80 |
1 |
3 |
getSubtotalWithoutImmutable() |
S |
80 |
1 |
3 |